<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改工作提醒')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-ncWorkNotice-edit" th:object="${ncWorkNotice}">
            <input id="workNoticeId" name="workNoticeId" th:field="*{workNoticeId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">工作名称：</label>
				<div class="col-sm-8">
					<input id="worckNoticeName" name="worckNoticeName" th:field="*{worckNoticeName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工作内容：</label>
				<div class="col-sm-8">
					<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">时间点：</label>
				<div class="col-sm-8">
					<input id="time" name="time" th:field="*{time}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上次执行时间：</label>
				<div class="col-sm-8">
					<input id="lastTime" name="lastTime" th:field="*{lastTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">提醒类型： 1:牛舍 2：鸡舍：</label>
				<div class="col-sm-8">
					<input id="noticeType" name="noticeType" th:field="*{noticeType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工作类型： 1：消毒 2：饲喂 3：挤奶：</label>
				<div class="col-sm-8">
					<input id="workType" name="workType" th:field="*{workType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">循环周期(天)：</label>
				<div class="col-sm-8">
					<input id="cycleDays" name="cycleDays" th:field="*{cycleDays}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">日期：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建人：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<textarea id="remark" rows="3" name="remark" th:field="*{remark}" class="form-control" type="text"></textarea>
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/ncWorkNotice";
		$("#form-ncWorkNotice-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-ncWorkNotice-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
